<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/static/css/index.css">
<script src="https://code.jquery.com/jquery-3.4.1.js"></script>
<title>system1</title>

<style type="text/css">  
    img { 
        position:absolute;  
        left:30px;
        top:15px;
    }  
</style>

<style>
* {
    padding: 0;
    margin: 0;
}


ul {
    list-style: none;
}

.nav {
    margin-top: 0px;
    width: 100%;
    height: 70px;
    line-height: 70px;
    background: rgb(42, 45, 105);
}


.nav li {
    float: right;
    position: relative;

}


.nav li a {
    display: block;
    width: 150px;
    text-align: center;
    color: #fff;
    text-decoration: none;
}



.box{
    width: 1000px;
    color:rgb(67, 44, 16);
    background-color: rgba(255, 248, 240, 0.6);
    border-radius: 50px 50px 50px 50px;
    text-align:center;
    padding: 60px;
    
}

.mybox{
    width: 400px;
    color:rgb(67, 44, 16);
    background-color: rgba(255, 248, 240, 0.6);
    border-radius: 50px 50px 50px 50px;
    align-self: center;
    text-align:center;
    justify-content: center;
    display:inline-block;
    font-size: 40px;
    padding: 30px;
}


.box ul{
    
    align-self: center;
    text-align:center;
    justify-content: center;
}



button{

        border: 3px #fff solid;
        color: #fff;
        /* display: block; */
        font-size: 29px;
        font-weight: normal;
        max-width: 147px;
        padding: 40px 0;
        text-align: center;
        text-transform: uppercase;
        text-decoration: none;
        width: 100%;
        border-radius: 20px;
        background: #7dabd4;
        margin-left: 80px;
        margin-right: 80px;
    }

    * {
    box-sizing: border-box;
    /* margin: 0; */
}
 
body {
    top:0;
    height: 100vh;
    color: white;
    background: url("https://pic4.zhimg.com/v2-9ed71e34ccbad60ba2bbdff06da6513f_r.jpg?source=1940ef5c");
    display: flex;
    /* justify-content: center; */
    align-items: center;
    flex-direction: column;
    background-repeat:no-repeat ;
    background-size:100% 100%;
    background-attachment: fixed;
}
 
</style>
</head>
<body>
<div class="nav">
    <div >
        <ul>
            <a href="http://homepage.sso.com:8083/view/homepage" style="text-decoration:none;color:#fff;margin-left: 1%;">首页</a>
            <li>
                <a th:if="${session.loginUser} == null" href="http://login.sso.com:8080/view/login?target=http://system1.sso.com:8081/view/index">登录</a>
                <a th:unless="${session.loginUser == null}" href="http://login.sso.com:8080/view/logout">退出</a>
            </li>   
            <li>
                <p th:unless="${session.loginUser} == null">
                    <a style="color:deepskyblue;" th:text="${session.loginUser.username}"></a>
                </p>
            </li>    
        </ul>
    </div>
</div>
<br><br><br><br><br><br><br><br>
<div class="mybox">
    <div class="boxa">
        欢迎来到系统A
    </div>

    
</div>
<br><br>



</body>
</html>